package org.fh.entity.fhoa;

import java.io.Serializable;
import java.util.Date;

/**
 * 行业信息实体类，对应数据库中的 oa_industry 表
 */
public class Industry implements Serializable {
    /**
     * 行业ID，主键，自增
     */
    private Long industryId;
    /**
     * 上级行业ID，0表示顶级行业
     */
    private Long parentId;
    /**
     * 行业名称
     */
    private String industryName;
    /**
     * 行业全称
     */
    private String industryFullName;
    /**
     * 行业类型
     */
    private Long industryType;
    /**
     * 排序号
     */
    private Long sortNumber;
    /**
     * 备注
     */
    private String comments;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 状态（如：A-启用，D-禁用）
     */
    private String state;

    @Override
    public String toString() {
        return "Industry{" +
                "industryId=" + industryId +
                ", parentId=" + parentId +
                ", industryName='" + industryName + '\'' +
                ", industryFullName='" + industryFullName + '\'' +
                ", industryType=" + industryType +
                ", sortNumber=" + sortNumber +
                ", comments='" + comments + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", state='" + state + '\'' +
                '}';
    }

    public Long getIndustryId() {
        return industryId;
    }

    public void setIndustryId(Long industryId) {
        this.industryId = industryId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getIndustryName() {
        return industryName;
    }

    public void setIndustryName(String industryName) {
        this.industryName = industryName;
    }

    public String getIndustryFullName() {
        return industryFullName;
    }

    public void setIndustryFullName(String industryFullName) {
        this.industryFullName = industryFullName;
    }

    public Long getIndustryType() {
        return industryType;
    }

    public void setIndustryType(Long industryType) {
        this.industryType = industryType;
    }

    public Long getSortNumber() {
        return sortNumber;
    }

    public void setSortNumber(Long sortNumber) {
        this.sortNumber = sortNumber;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
